package per.com.dao;

import org.springframework.stereotype.Repository;
import per.com.bean.teachermanage.TeacherManage;
import per.com.bean.UserBean;

import java.util.List;

@Repository
public interface UserDao {
        TeacherManage login(TeacherManage teacherManage);

    UserBean log(String username,String password);

    void reg(UserBean userBean);

    void updatePsw(UserBean userBean);


    List<UserBean> queryAllUser();
}
